<!-- list game category -->
        <div class="ListGame">
          <div class="ListGame-header">
            <h1><?php echo $category_info['title']; ?> mới nhất</h1>
            <div class="blockGame-tabs">
              <ul class="block-tabs-style-1">
                <li class="active"><span class="borderleft">&nbsp;</span><a href="/danh-muc-game/moi-nhat/<?php echo $category_info['id']; ?>-<?php echo $category_info['alias']; ?>.html" title="Game mới nhất trong danh mục này">Mới nhất</a><span class="borderright"></span></li>
                <li><span class="borderleft"></span><a href="/danh-muc-game/hay-nhat/<?php echo $category_info['id']; ?>-<?php echo $category_info['alias']; ?>.html" title="Game hay nhất trong danh mục này">Hay nhất</a><span class="borderright"></span></li>
                <li><span class="borderleft"></span><a href="/danh-muc-game/nhieu-nguoi-choi-nhat/<?php echo $category_info['id']; ?>-<?php echo $category_info['alias']; ?>.html" title="Game nhiều người chơi nhất trong danh mục này">Nhiều người chơi nhất</a><span class="borderright"></span></li>
              </ul>
              <p class="ListGame-view-all"><img alt="xem tất cả" src="/img/arrow-small-icon.gif" /><img alt="xem tất cả" src="/img/arrow-small-icon.gif" /><a title="Xem Tất cả" href="/danh-muc-game/<?php echo $category_info['id']; ?>-<?php echo $category_info['alias']; ?>.html">Xem Tất cả</a> </p>
            </div>
          </div>
          <div class="ListGame-content">
            <?php
                $i  =   1;
                foreach($data AS $row):
                $thumbnail  =   $thumbnail_thumb_url_path . $row['Game']['folder_url'] . $row['Game']['thumbnail'];
                if($i % 4 == 1){
                    echo '<div class="list-game-row">';
                    echo '<ul>';
                }
            ?>
                <li>
                    <p class="game-thumb">
                        <?php if($row['Game']['hot_icon']): ?>
                        <img class="hot-icon" width="31px" height="32px" alt="Game hot" src="/img/icon-hot.png" />
                        <?php endif; ?>
                        <a href="/choi-game/<?php echo $row['Game']['id']; ?>-<?php echo $row['Game']['alias']; ?>.html" title="<?php echo $row['Game']['title']; ?>"><img alt="<?php echo $row['Game']['title']; ?>" width="100px" height="80px" src="<?php echo $thumbnail; ?>" /></a></p>
                  <p class="game-detail"> <strong><a href="/choi-game/<?php echo $row['Game']['id']; ?>-<?php echo $row['Game']['alias']; ?>.html" title="<?php echo $row['Game']['title']; ?>"><?php echo $row['Game']['title']; ?></a></strong> <span>Đã chơi: <?php echo $row['Game']['play_times']; ?></span> </p>
                </li>
            <?php
                if($i % 4 == 0 || $i == sizeof($data)){
                    echo '</ul></div>';
                }
                $i++;
                endforeach;
            ?>
          </div>
          <div class="footer">
            <?php echo $this->element('paging', array('paging'=>$this->Paginator));?>
           </div>
        </div>
        <!-- end list game category --> 
